/********************************************************************************
** Form generated from reading ui file 'videoview.ui'
**
** Created: Fri Nov 27 12:14:01 2009
**      by: Qt User Interface Compiler version 4.5.2
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/

#ifndef UI_VIDEOVIEW_H
#define UI_VIDEOVIEW_H

#include <MyCameraWindow.h>
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <phonon/videowidget.h>
#include <pictureflow.h>

QT_BEGIN_NAMESPACE

class Ui_VideoView
{
public:
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout_5;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *previousbutton;
    QSpacerItem *horizontalSpacer;
    QLabel *phrase;
    QSpacerItem *horizontalSpacer_2;
    QPushButton *nextbutton;
    QFrame *line_2;
    QGridLayout *gridLayout;
    Phonon::VideoWidget *vidWig;
    QVBoxLayout *verticalLayout_10;
    QSpacerItem *verticalSpacer;
    QPushButton *playpausebutton;
    QPushButton *stopbutton;
    QPushButton *record;
    QPushButton *stopRec;
    QCheckBox *learnedCheck;
    QSpacerItem *verticalSpacer_2;
    QVBoxLayout *verticalLayout;
    MyCameraWindow *webcam;
    Phonon::VideoWidget *vidWig4wc;
    QSpacerItem *horizontalSpacer_3;
    QSpacerItem *horizontalSpacer_4;
    QHBoxLayout *horizontalLayout_2;
    PictureFlow *flow;
    QSpacerItem *verticalSpacer_3;
    QFrame *line;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer_5;
    QPushButton *loadbutton;

    void setupUi(QWidget *VideoView)
    {
        if (VideoView->objectName().isEmpty())
            VideoView->setObjectName(QString::fromUtf8("VideoView"));
        VideoView->setEnabled(true);
        VideoView->resize(600, 600);
        VideoView->setAutoFillBackground(true);
        verticalLayout_2 = new QVBoxLayout(VideoView);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setMargin(11);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setSpacing(6);
        horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setSpacing(6);
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        previousbutton = new QPushButton(VideoView);
        previousbutton->setObjectName(QString::fromUtf8("previousbutton"));
        previousbutton->setEnabled(false);

        horizontalLayout_3->addWidget(previousbutton);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer);

        phrase = new QLabel(VideoView);
        phrase->setObjectName(QString::fromUtf8("phrase"));
        QFont font;
        font.setPointSize(20);
        phrase->setFont(font);

        horizontalLayout_3->addWidget(phrase);

        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer_2);

        nextbutton = new QPushButton(VideoView);
        nextbutton->setObjectName(QString::fromUtf8("nextbutton"));
        nextbutton->setEnabled(false);

        horizontalLayout_3->addWidget(nextbutton);


        horizontalLayout_5->addLayout(horizontalLayout_3);


        verticalLayout_2->addLayout(horizontalLayout_5);

        line_2 = new QFrame(VideoView);
        line_2->setObjectName(QString::fromUtf8("line_2"));
        line_2->setFrameShape(QFrame::HLine);
        line_2->setFrameShadow(QFrame::Sunken);

        verticalLayout_2->addWidget(line_2);

        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        vidWig = new Phonon::VideoWidget(VideoView);
        vidWig->setObjectName(QString::fromUtf8("vidWig"));
        vidWig->setEnabled(true);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(vidWig->sizePolicy().hasHeightForWidth());
        vidWig->setSizePolicy(sizePolicy);
        vidWig->setMinimumSize(QSize(0, 0));
        vidWig->setMaximumSize(QSize(10000, 10000));

        gridLayout->addWidget(vidWig, 0, 0, 1, 1);

        verticalLayout_10 = new QVBoxLayout();
        verticalLayout_10->setSpacing(6);
        verticalLayout_10->setObjectName(QString::fromUtf8("verticalLayout_10"));
        verticalLayout_10->setSizeConstraint(QLayout::SetNoConstraint);
        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_10->addItem(verticalSpacer);

        playpausebutton = new QPushButton(VideoView);
        playpausebutton->setObjectName(QString::fromUtf8("playpausebutton"));

        verticalLayout_10->addWidget(playpausebutton);

        stopbutton = new QPushButton(VideoView);
        stopbutton->setObjectName(QString::fromUtf8("stopbutton"));
        stopbutton->setEnabled(false);

        verticalLayout_10->addWidget(stopbutton);

        record = new QPushButton(VideoView);
        record->setObjectName(QString::fromUtf8("record"));

        verticalLayout_10->addWidget(record);

        stopRec = new QPushButton(VideoView);
        stopRec->setObjectName(QString::fromUtf8("stopRec"));

        verticalLayout_10->addWidget(stopRec);

        learnedCheck = new QCheckBox(VideoView);
        learnedCheck->setObjectName(QString::fromUtf8("learnedCheck"));
        learnedCheck->setEnabled(true);

        verticalLayout_10->addWidget(learnedCheck);

        verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_10->addItem(verticalSpacer_2);


        gridLayout->addLayout(verticalLayout_10, 0, 1, 1, 1);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setSpacing(6);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        webcam = new MyCameraWindow(VideoView);
        webcam->setObjectName(QString::fromUtf8("webcam"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(webcam->sizePolicy().hasHeightForWidth());
        webcam->setSizePolicy(sizePolicy1);

        verticalLayout->addWidget(webcam);

        vidWig4wc = new Phonon::VideoWidget(VideoView);
        vidWig4wc->setObjectName(QString::fromUtf8("vidWig4wc"));
        vidWig4wc->setEnabled(true);
        sizePolicy.setHeightForWidth(vidWig4wc->sizePolicy().hasHeightForWidth());
        vidWig4wc->setSizePolicy(sizePolicy);
        vidWig4wc->setMinimumSize(QSize(0, 0));
        vidWig4wc->setMaximumSize(QSize(10000, 10000));

        verticalLayout->addWidget(vidWig4wc);


        gridLayout->addLayout(verticalLayout, 0, 2, 1, 1);

        horizontalSpacer_3 = new QSpacerItem(40, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer_3, 1, 0, 1, 1);

        horizontalSpacer_4 = new QSpacerItem(40, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer_4, 1, 2, 1, 1);


        verticalLayout_2->addLayout(gridLayout);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        flow = new PictureFlow(VideoView);
        flow->setObjectName(QString::fromUtf8("flow"));
        flow->setEnabled(true);
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(flow->sizePolicy().hasHeightForWidth());
        flow->setSizePolicy(sizePolicy2);
        flow->setMinimumSize(QSize(0, 230));
        flow->setFocusPolicy(Qt::StrongFocus);

        horizontalLayout_2->addWidget(flow);

        verticalSpacer_3 = new QSpacerItem(0, 18, QSizePolicy::Minimum, QSizePolicy::Expanding);

        horizontalLayout_2->addItem(verticalSpacer_3);


        verticalLayout_2->addLayout(horizontalLayout_2);

        line = new QFrame(VideoView);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        verticalLayout_2->addWidget(line);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(6);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer_5);

        loadbutton = new QPushButton(VideoView);
        loadbutton->setObjectName(QString::fromUtf8("loadbutton"));
        QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(loadbutton->sizePolicy().hasHeightForWidth());
        loadbutton->setSizePolicy(sizePolicy3);
        loadbutton->setMinimumSize(QSize(50, 0));

        horizontalLayout->addWidget(loadbutton);


        verticalLayout_2->addLayout(horizontalLayout);

        QWidget::setTabOrder(flow, loadbutton);
        QWidget::setTabOrder(loadbutton, playpausebutton);
        QWidget::setTabOrder(playpausebutton, stopbutton);

        retranslateUi(VideoView);
        QObject::connect(playpausebutton, SIGNAL(clicked()), VideoView, SLOT(play()));
        QObject::connect(stopbutton, SIGNAL(clicked()), VideoView, SLOT(stop()));
        QObject::connect(loadbutton, SIGNAL(clicked()), VideoView, SLOT(addFiles()));
        QObject::connect(nextbutton, SIGNAL(clicked()), flow, SLOT(showNext()));
        QObject::connect(previousbutton, SIGNAL(clicked()), flow, SLOT(showPrevious()));
        QObject::connect(nextbutton, SIGNAL(clicked()), VideoView, SLOT(playNext()));
        QObject::connect(previousbutton, SIGNAL(clicked()), VideoView, SLOT(playPrevious()));
        QObject::connect(flow, SIGNAL(centerIndexChanged(int)), VideoView, SLOT(setIndex(int)));
        QObject::connect(stopRec, SIGNAL(clicked()), webcam, SLOT(stopRec()));
        QObject::connect(stopRec, SIGNAL(clicked()), VideoView, SLOT(doneRecording()));
        QObject::connect(webcam, SIGNAL(stopRecordButton(bool)), VideoView, SLOT(setStopRecVisible(bool)));
        QObject::connect(record, SIGNAL(clicked()), VideoView, SLOT(startRecording()));
        QObject::connect(learnedCheck, SIGNAL(toggled(bool)), VideoView, SLOT(learnedThis(bool)));

        QMetaObject::connectSlotsByName(VideoView);
    } // setupUi

    void retranslateUi(QWidget *VideoView)
    {
        VideoView->setWindowTitle(QApplication::translate("VideoView", "VideoView", 0, QApplication::UnicodeUTF8));
        previousbutton->setText(QApplication::translate("VideoView", "Previous", 0, QApplication::UnicodeUTF8));
        previousbutton->setShortcut(QApplication::translate("VideoView", "Left", 0, QApplication::UnicodeUTF8));
        phrase->setText(QApplication::translate("VideoView", "Phrase to learn", 0, QApplication::UnicodeUTF8));
        nextbutton->setText(QApplication::translate("VideoView", "Next", 0, QApplication::UnicodeUTF8));
        nextbutton->setShortcut(QApplication::translate("VideoView", "Right", 0, QApplication::UnicodeUTF8));
        playpausebutton->setText(QApplication::translate("VideoView", "Play/Pause", 0, QApplication::UnicodeUTF8));
        playpausebutton->setShortcut(QApplication::translate("VideoView", "Space", 0, QApplication::UnicodeUTF8));
        stopbutton->setText(QApplication::translate("VideoView", "Stop", 0, QApplication::UnicodeUTF8));
        record->setText(QApplication::translate("VideoView", "Record", 0, QApplication::UnicodeUTF8));
        stopRec->setText(QApplication::translate("VideoView", "Stop Rec", 0, QApplication::UnicodeUTF8));
        learnedCheck->setText(QApplication::translate("VideoView", "Learned", 0, QApplication::UnicodeUTF8));
        loadbutton->setText(QApplication::translate("VideoView", "Load Files", 0, QApplication::UnicodeUTF8));
        Q_UNUSED(VideoView);
    } // retranslateUi

};

namespace Ui {
    class VideoView: public Ui_VideoView {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_VIDEOVIEW_H
